﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace ChuanYe.CountyFireManagement.Api.Models
{
    public class FireLocationRecordRequest
    {
        /// <summary>
        /// 主键
        /// </summary>
        public string LocationRecordId { get; set; }

        /// <summary>
        /// 火灾编号
        /// </summary>
        public int FireId { get; set; }

        /// <summary>
        /// 处置类型
        /// </summary>
        public int RecordType { get; set; }

        /// <summary>
        /// 经度
        /// </summary>
        public string Longitude { get; set; }
        /// <summary>
        /// 纬度
        /// </summary>
        public string Latitude { get; set; }

        /// <summary>
        /// 添加时间
        /// </summary>
        public DateTime TransDatetime { get; set; }

        /// <summary>
        /// 用户编号
        /// </summary>
        public int UserId { get; set; }

        /// <summary>
        /// 设备IMEI
        /// </summary>
        public string Imei { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public string Accuracy { get; set; }


        /// <summary>
        /// 用户名
        /// </summary>
        public string RealName { get; set; }
    }

    public class FireLocationRecordArrayRequest 
    {
        /// <summary>
        /// 记录集合
        /// </summary>
        public List<FireLocationRecordRequest> LocationRecords { get; set; }
    }

    public class FireLocationRecordSearchRequest 
    {

        /// <summary>
        /// 火灾编号
        /// </summary>
        public int FireId { get; set; }

        /// <summary>
        /// 处置类型
        /// </summary>
        public int RecordType { get; set; }
    }
}
